class Parent {
    static {
        System.out.println("父类静态块执行");
    }

    static void staticMethod() {
        System.out.println("父类静态方法执行");
    }
}

class Child extends Parent {
    static {
        System.out.println("子类静态块执行");
    }

    static void staticMethod() {
        System.out.println("子类静态方法执行");
    }
}

public class Main {
    public static void main(String[] args) {
        Child child = new Child();
        child.staticMethod();
    }
}